package net.toby200.canalstoppages.scraper;

import net.toby200.canalstoppages.model.Location;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

@JsonAutoDetect(fieldVisibility = Visibility.ANY)
public class NoticeDetail {
	private final String type;
	private final String description;
	private final String locationDetail;
	private final Location startLoc;
	private final Location endLoc;
	
	
	public NoticeDetail(String type, String description,
			String locationDetail, Location startLoc, Location endLoc) {
		super();
		this.type = type;
		this.description = description;
		this.locationDetail = locationDetail;	
		this.startLoc = startLoc;
		this.endLoc = endLoc;
	}


	public String getType() {
		return type;
	}


	public String getDescription() {
		return description;
	}


	public String getLocationDetail() {
		return locationDetail;
	}


	public Location getStartLoc() {
		return startLoc;
	}


	public Location getEndLoc() {
		return endLoc;
	}

	
	
	
	
}

